<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<table
	class="am-table am-table-bordered am-table-striped am-table-hover am-table-centered">
	<thead>
		<tr>
			<th width="20%">用户名</th>
			<th width="20%">所属单位</th>
			<th width="15%">时间</th>
			<th>操作</th>
			<th width="10%">用户ip</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${page.records}" var="c" varStatus="status">
			<fmt:formatDate value="${c.czsj}" pattern="yyyy-MM-dd HH:mm:ss"
				var="czsj" />
			<tr class="select">
				<c:choose>
					<c:when test="${!empty c.userName }">
						<td>${c.userName}</td>
						<td>${c.userInstitute}</td>
					</c:when>
					<c:otherwise>
						<td>${c.manageUser}</td>
						<td>后台管理员</td>
					</c:otherwise>
				</c:choose>
				<td>${czsj}</td>
				<td>${c.czDis}</td>
				<td>${c.ip}</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<%@ include file="/WEB-INF/jsp/manage/page.jsp"%>
